apiVersion: apps.kubeblocks.io/v1alpha1
kind: Cluster
metadata:
  name: minio-cluster
spec:
  terminationPolicy: Delete
  componentSpecs:
  - name: minio
    componentDef: minio
    env:
      - name: MINIO_BUCKETS
        value: "test-bucket,prod-bucket" 
    replicas: 4
    resources:
      limits:
        cpu: '0.5'
        memory: 0.5Gi
      requests:
        cpu: '0.5'
        memory: 0.5Gi
    volumeClaimTemplates:
      - name: data
        spec:
          storageClassName: "local-path"
          accessModes:
            - ReadWriteOnce
          resources:
            requests:
              storage: 10Gi
